﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KL.Store.Core.Domain
{
    public class Order
    {
        public virtual int OrderId { get; set; }
        public virtual string OrderDate { get; set; }
        public virtual string ProductStatus { get; set; }
        public virtual string StatusExplanation { get; set; }
        public virtual decimal Payment { get; set; }
        public virtual decimal TaxTotal { get; set; }
        public virtual decimal TotalPayment { get; set; }
        public virtual bool CanBeCancelled { get; set; }
        public virtual short CargoId { get; set; }
        public virtual string CargoReportUrl { get; set; }
    }

    public class OrderDetail
    {
        public virtual int DetailNo { get; set; }
        public virtual int ProductId { get; set; }
        public virtual string Unit { get; set; }
        public virtual decimal Amount { get; set; }
        public virtual decimal Delivered { get; set; }
        public virtual decimal Canceled { get; set; }
        public virtual decimal Remaining { get; set; }
        public virtual string Curency { get; set; }
        public virtual decimal UnitPrice { get; set; }
        public virtual decimal Price { get; set; }
        public virtual decimal TaxRate { get; set; }
        public virtual decimal Tax { get; set; }
        public virtual decimal TotalPrice { get; set; }
        public virtual short Status { get; set; }
        public virtual string ProductName { get; set; }
        public virtual string VariantValue { get; set; }
    }

    public class OrderCargo
    {
        public virtual string ProductCargoRef { get; set; }
        public virtual string InvoiceCargoRef { get; set; }
        public virtual string ProductCargoDate { get; set; }
        public virtual string InvoiceCargoDate { get; set; }
        public virtual string LinkProduct { get; set; }
        public virtual string LinkInvoice { get; set; }
    }
}
